﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Mobile/Masters/MobileSite.master" AutoEventWireup="true" CodeFile="Subjects.aspx.cs" Inherits="Mobile_Subjects" %>

<%@ Register src="Parts/HeaderMoblieSubPage.ascx" tagname="HeaderMoblieSubPage" tagprefix="uc1" %>
<%@ Register src="Parts/SearchBarMobile.ascx" tagname="SearchBarMobile" tagprefix="uc2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Title" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Head" Runat="Server">
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="HeadBody" runat="server">    
    <uc1:HeaderMoblieSubPage ID="HeaderMoblieSubPage1" runat="server" />
    <uc2:SearchBarMobile ID="SearchBarMobile1" runat="server" />
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="MainContent" Runat="Server">
	<div style="padding:1px" id="bookdesc">


<% 
    List<DanhMucCha> lst = (List<DanhMucCha>)Session["DanhMucChas"];

    for (int i = 0; i < lst.Count; i++)
    {
%>
<h5 class="title"><%= lst[i].ParentCatName %></h5>
    <div id="storelisting">
			<ul id="booklisting">
<%
        List<DanhMuc> lstDM = lst[i].DanhMucs.ToList<DanhMuc>();
        for (int j = 0; j < lstDM.Count; j++)
        {
%>
    <li><a href="Category.aspx?CateID=<%= lstDM[j].CatID %>"><%= lstDM[j].CatName %></a></li>
<%
        } 
%>
            </ul>
    </div>          
<% 
    }
%>

		<%--<h5 class="title">Most Popular Subjects</h5>
		<div id="storelisting">
			<ul id="booklisting">
				<!--<a href="subject.asp?SID=academic/" class="title">Academic Ebooks</a><br />
				<a href="Register.asp" class="title">Alerts</a></p> -->

				<li><a href="">Business</a></li>
				<li><a href="">History</a></li>
				<li><a href="">Computers</a></li>
				<li><a href="">Religion</a></li>
				<li><a href="">Health &amp; Fitness</a></li>
				<li><a href="">Science</a></li>
				<li><a href="">Body Mind Spirit</a></li>

			</ul>
		</div>--%>

	    <%--<br />--%>

		<%--<h5 class="title">Fiction</h5>
		<div id="storelisting">
			<ul id="booklisting">		

			    <li><a href="subject.asp?SID=18">Children's &amp; Young Adult Fiction</a></li>
			    <li><a href="searchapp/searchresults.net?term=SubjectID:64">Crime Fiction</a></li>
			    <li><a href="subject.asp?SID=329">Fantasy</a></li>
			    <li><a href="subject.asp?SID=217">Literary Fiction</a></li>
			    <li><a href="subject.asp?SID=440">Romance</a></li>
			    <li><a href="subject.asp?SID=122">Science Fiction</a></li>
			    <li><a href="searchapp/searchresults.net?term=SubjectID:230">Suspense/Thrillers</a></li>
			    <li><a href="subject.asp?SID=7">All Fiction</a></li>

			</ul>
		</div>--%>

	    <%--<br />--%>

		<%--<h5 class="title">Non-Fiction</h5>
		<div id="storelisting">
			<ul id="booklisting">		
            	
			    <li><a href="subject.asp?SID=452">Archaeology</a></li>
			    <li><a href="subject.asp?SID=470">Architecture</a></li>
			    <li><a href="subject.asp?SID=317">Art</a></li>
			    <li><a href="subject.asp?SID=82">Biography &amp; Autobiography</a></li>
			    <li><a href="subject.asp?SID=16">Body Mind Spirit</a></li>
			    <li><a href="subject.asp?SID=2">Business &amp; Economics</a></li>
			    <li><a href="subject.asp?SID=184">Crafts &amp; Hobbies</a></li>
			    <li><a href="subject.asp?SID=13">Computers</a></li>

		    </ul>
	    </div>--%>

	    <%--<br />--%>
    </div>
</asp:Content>

